import Vue from 'vue'
import * as filters from '@/filters/index.js' // 全局filter

// 加载过滤器
Object.keys(filters).forEach(key => { Vue.filter(key, filters[key]) })